import 'package:flutter/material.dart';
import 'package:flutter02/customIcon.dart';

void main(){
  runApp(const MyApp());
}
class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title:const Text("Flutter Icons")),
        body: const MyHomePage(),
      ),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return const Column(
      children: [
        Icon(Icons.home,size: 40,color: Colors.red,),
        SizedBox(height: 10,),
        Icon(Icons.search,size: 40,color: Colors.blue,),
        SizedBox(height: 10,),
        Icon(CustomIcons.wx,size: 40,color: Colors.greenAccent,),
        SizedBox(height: 10,),
        Icon(CustomIcons.zfb,size: 50,color: Colors.purple,),
        SizedBox(height: 10,),
        Icon(CustomIcons.ysf,size: 40,color: Colors.red,),

      ],
    );
  }
}
